package com.hy.convenient.dao.login;

import com.hy.convenient.pojo.login.RolesPermissionsPojo;
import com.hy.convenient.pojo.login.RolesPermissionsPojoKey;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RolesPermissionsPojoMapper {
    int deleteByPrimaryKey(RolesPermissionsPojoKey key);

    int insert(RolesPermissionsPojo record);

    int insertSelective(RolesPermissionsPojo record);

    RolesPermissionsPojo selectByPrimaryKey(RolesPermissionsPojoKey key);

    int updateByPrimaryKeySelective(RolesPermissionsPojo record);

    int updateByPrimaryKey(RolesPermissionsPojo record);
    /**
     * 查询全部数据
     * @param t
     * @return
     */
    List<RolesPermissionsPojo> queryAll(Map<String, Object> t);
    /**
     * 查询全部数据总条数
     * @param t
     * @return
     */
    int queryConut(Map<String, Object> t);
}